package com.appcenter.application.model;

import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;
import java.util.Date;

@NameStyle(Style.normal)
@Table(name = "users")
@Entity
public class Users {
    @javax.persistence.Id
    private String no;
    private String id;
    private String userCode;
    private String userName;
    private String password;
    private String dingUserId;
    private String email;
    private String emailPassword;

    public String getEmailPassword() {
        return emailPassword;
    }

    public void setEmailPassword(String emailPassword) {
        this.emailPassword = emailPassword;
    }

    private Boolean accountIsDisabled;
    private String cityCode;
    private String phone;
    private String sex;
    private Date birthday;
    private String officePhone;
    private String jobNumber;
    private String cardNo;
    private Long versionNo;

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Long getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(Long versionNo) {
        this.versionNo = versionNo;
    }

    private UserAddrs userAddress;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDingUserId() {
        return dingUserId;
    }

    public void setDingUserId(String dingUserId) {
        this.dingUserId = dingUserId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Boolean getAccountIsDisabled() {
        return accountIsDisabled;
    }

    public void setAccountIsDisabled(Boolean accountIsDisabled) {
        this.accountIsDisabled = accountIsDisabled;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getOfficePhone() {
        return officePhone;
    }

    public void setOfficePhone(String officePhone) {
        this.officePhone = officePhone;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public UserAddrs getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(UserAddrs userAddress) {
        this.userAddress = userAddress;
    }

    //________________
    // A0104 曾用名：
    private  String usedName;
    //A01AF 用工形式 代码类，正式，劳务，第三方派遣，实习生
    private  String employmentForm;
    // B0110 单位 代码类代号，UN
    private  String unit;
    //E0122  部门 代码类代号，UM
    private String department;
    //E01A1 岗位 代码类代号，@K
    private String job;
    //A0181  国籍 代码类代号，AY
    private String nationality;
    //A0162 转正日期 日期型
    private Date conversionDate;
    //A01AM 证件类型 代码类代号，ZG
    private String certificateType;
    //A01BT  证件号码
    private String certificateNo;
    //A01BK   实际生日
    private Date actualBirthday;
    //A0112 年龄
    private Long age;
    //A0135 岗位类别
    private String jobType;
    //A0137  岗位级别
    private String jobLevel;
    //A0141 参加工作时间
    private Date startWorkDate;
    //A0151 工龄
    private Long workAge;
    //A01AT 姓名全拼
    private String fullPinyinName;
    //A0121 民族
    private String nation;
    //A0114 籍贯
    private String nativePlace;
    //A0174 户籍性质
    private String householdRegisterNature;
    //A01AV  现住址参考
    private String currentAddressReference;
    //A0182  人员状态
    private String personnelStatus;
    //A01AK  工作地点（需本人确认）
    private String workPlace;
    //A0136 最高学历
    private String highestEducational;
    //A01AC 最高学位 
    private String highestDegree;
    //A0142 加入中国水环境集团时间
    private Date joinGroupDate;
    //A0143 司龄
    private Long groupAge;
    //A0124 健康状况
    private String health;
    //A0127 婚姻状况
    private String maritalStatus;
    //A0162 加入所在单位时间
    private Date joinUnitDate;
    //A01AL 试用期（月）
    private Long probationPeriod;
    //A01AN 试用期起始日期
    private Date startProbationDate;
    //A01AM 试用期结束日期
    private Date endProbationDate;
    //A01AS 政治面貌
    private String politicsStatus;
    //A01BL 公司邮箱
    private String companyEmail;
    //A0149 微信号
    private String weixin;
    //A0153 紧急联系人
    private String emergencyContact;
    //A01AR 紧急联系人关系
    private String emergencyContactRelation;
    //A0152 紧急联系人电话
    private String emergencyPhone;
    //A01BM  是否部门负责人
    private String isDepartmentHead;
    //A01AG 是否符合宿舍入住条件 
    private String isInDormitoryCondition;
    //A0190 银行帐号
    private String bankNo;
    //A01AO 开户行
    private String openingBank;
    //A01AP 联行号
    private String linkNumber;
    //A01AI 是否通过代理公司缴纳社保公积金 
    private String isAgentPayFund ;
    //A01AH 公积金个人编号 
    private String providentFundPersonalNo;
    //A01AY 原户籍身份证号
    private String originalCardNo;
    //A01AX 岗位代码1
    private String jobNumber1;
    //A01AZ 单位简称
    private String unitShortName;
    //A01BA 家庭电话
    private String homePhone;
    //A01BB 是否调档／党关系
    private String isFileTransfer;
    //A01BD 单位前缀代码
    private String unitPreCode;
    //A01BQ 证件类型
    private String certificateType1;

    public String getUsedName() {
        return usedName;
    }

    public void setUsedName(String usedName) {
        this.usedName = usedName;
    }

    public String getEmploymentForm() {
        return employmentForm;
    }

    public void setEmploymentForm(String employmentForm) {
        this.employmentForm = employmentForm;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public Date getConversionDate() {
        return conversionDate;
    }

    public void setConversionDate(Date conversionDate) {
        this.conversionDate = conversionDate;
    }

    public String getCertificateType() {
        return certificateType;
    }

    public void setCertificateType(String certificateType) {
        this.certificateType = certificateType;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo;
    }

    public Date getActualBirthday() {
        return actualBirthday;
    }

    public void setActualBirthday(Date actualBirthday) {
        this.actualBirthday = actualBirthday;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getJobLevel() {
        return jobLevel;
    }

    public void setJobLevel(String jobLevel) {
        this.jobLevel = jobLevel;
    }

    public Date getStartWorkDate() {
        return startWorkDate;
    }

    public void setStartWorkDate(Date startWorkDate) {
        this.startWorkDate = startWorkDate;
    }

    public Long getWorkAge() {
        return workAge;
    }

    public void setWorkAge(Long workAge) {
        this.workAge = workAge;
    }

    public String getFullPinyinName() {
        return fullPinyinName;
    }

    public void setFullPinyinName(String fullPinyinName) {
        this.fullPinyinName = fullPinyinName;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getHouseholdRegisterNature() {
        return householdRegisterNature;
    }

    public void setHouseholdRegisterNature(String householdRegisterNature) {
        this.householdRegisterNature = householdRegisterNature;
    }

    public String getCurrentAddressReference() {
        return currentAddressReference;
    }

    public void setCurrentAddressReference(String currentAddressReference) {
        this.currentAddressReference = currentAddressReference;
    }

    public String getPersonnelStatus() {
        return personnelStatus;
    }

    public void setPersonnelStatus(String personnelStatus) {
        this.personnelStatus = personnelStatus;
    }

    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace;
    }

    public String getHighestEducational() {
        return highestEducational;
    }

    public void setHighestEducational(String highestEducational) {
        this.highestEducational = highestEducational;
    }

    public String getHighestDegree() {
        return highestDegree;
    }

    public void setHighestDegree(String highestDegree) {
        this.highestDegree = highestDegree;
    }

    public Date getJoinGroupDate() {
        return joinGroupDate;
    }

    public void setJoinGroupDate(Date joinGroupDate) {
        this.joinGroupDate = joinGroupDate;
    }

    public Long getGroupAge() {
        return groupAge;
    }

    public void setGroupAge(Long groupAge) {
        this.groupAge = groupAge;
    }

    public String getHealth() {
        return health;
    }

    public void setHealth(String health) {
        this.health = health;
    }

    public String getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(String maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public Date getJoinUnitDate() {
        return joinUnitDate;
    }

    public void setJoinUnitDate(Date joinUnitDate) {
        this.joinUnitDate = joinUnitDate;
    }

    public Long getProbationPeriod() {
        return probationPeriod;
    }

    public void setProbationPeriod(Long probationPeriod) {
        this.probationPeriod = probationPeriod;
    }

    public Date getStartProbationDate() {
        return startProbationDate;
    }

    public void setStartProbationDate(Date startProbationDate) {
        this.startProbationDate = startProbationDate;
    }

    public Date getEndProbationDate() {
        return endProbationDate;
    }

    public void setEndProbationDate(Date endProbationDate) {
        this.endProbationDate = endProbationDate;
    }

    public String getPoliticsStatus() {
        return politicsStatus;
    }

    public void setPoliticsStatus(String politicsStatus) {
        this.politicsStatus = politicsStatus;
    }

    public String getCompanyEmail() {
        return companyEmail;
    }

    public void setCompanyEmail(String companyEmail) {
        this.companyEmail = companyEmail;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getEmergencyContactRelation() {
        return emergencyContactRelation;
    }

    public void setEmergencyContactRelation(String emergencyContactRelation) {
        this.emergencyContactRelation = emergencyContactRelation;
    }

    public String getEmergencyPhone() {
        return emergencyPhone;
    }

    public void setEmergencyPhone(String emergencyPhone) {
        this.emergencyPhone = emergencyPhone;
    }

    public String getIsDepartmentHead() {
        return isDepartmentHead;
    }

    public void setIsDepartmentHead(String isDepartmentHead) {
        this.isDepartmentHead = isDepartmentHead;
    }

    public String getIsInDormitoryCondition() {
        return isInDormitoryCondition;
    }

    public void setIsInDormitoryCondition(String isInDormitoryCondition) {
        this.isInDormitoryCondition = isInDormitoryCondition;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public String getOpeningBank() {
        return openingBank;
    }

    public void setOpeningBank(String openingBank) {
        this.openingBank = openingBank;
    }

    public String getLinkNumber() {
        return linkNumber;
    }

    public void setLinkNumber(String linkNumber) {
        this.linkNumber = linkNumber;
    }

    public String getIsAgentPayFund() {
        return isAgentPayFund;
    }

    public void setIsAgentPayFund(String isAgentPayFund) {
        this.isAgentPayFund = isAgentPayFund;
    }

    public String getProvidentFundPersonalNo() {
        return providentFundPersonalNo;
    }

    public void setProvidentFundPersonalNo(String providentFundPersonalNo) {
        this.providentFundPersonalNo = providentFundPersonalNo;
    }

    public String getOriginalCardNo() {
        return originalCardNo;
    }

    public void setOriginalCardNo(String originalCardNo) {
        this.originalCardNo = originalCardNo;
    }

    public String getJobNumber1() {
        return jobNumber1;
    }

    public void setJobNumber1(String jobNumber1) {
        this.jobNumber1 = jobNumber1;
    }

    public String getUnitShortName() {
        return unitShortName;
    }

    public void setUnitShortName(String unitShortName) {
        this.unitShortName = unitShortName;
    }

    public String getHomePhone() {
        return homePhone;
    }

    public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }

    public String getIsFileTransfer() {
        return isFileTransfer;
    }

    public void setIsFileTransfer(String isFileTransfer) {
        this.isFileTransfer = isFileTransfer;
    }

    public String getUnitPreCode() {
        return unitPreCode;
    }

    public void setUnitPreCode(String unitPreCode) {
        this.unitPreCode = unitPreCode;
    }

    public String getCertificateType1() {
        return certificateType1;
    }

    public void setCertificateType1(String certificateType1) {
        this.certificateType1 = certificateType1;
    }


}
